
#ifndef PROMPTBOX_H
#define PROMPTBOX_H

#include <BLabel>
#include <BButton>
#include <BSonNode>

#include "SourceFormat.h"

using namespace BWE;

class PromptBox : public BWidget
{
	BOBJECT(PromptBox)
public:
	PromptBox();
	~PromptBox();

	void setSource(BSource* source);
	BSource* source();

	void setItem(SourceFormat::Item* item);
	SourceFormat::Item* item() const;

private:
	BLabelHolder		_label;
	SourceFormat::Item*	_item;
	BSourceHolder		_source;
};

#endif
